Skip to content

Add the flush option for $watch #605

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 7, 2020

Conversation

skirtles-code
Copy link
Contributor

Description of Problem

Vue 3 introduced the flush option for watchers. While it is documented in a few places, it isn't mentioned in the API reference for the $watch method or the watch option.

Proposed Solution

I've added a complete description under $watch, similar to the deep and immediate options.

For the watch option I've only noted its existence and provided a link to $watch.

Additional Information

Closes #457.

@skirtles-code skirtles-code changed the title docs: add the flush option for $watch Add the flush option for $watch Oct 7, 2020
Copy link
Member

@NataliaTepluhina NataliaTepluhina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @skirtles-code!

@NataliaTepluhina NataliaTepluhina merged commit a09c316 into vuejs:master Oct 7, 2020
nick-lai pushed a commit to nick-lai/docs-next that referenced this pull request Dec 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Watch - flush
2 participants